<template>
  <el-table :data="data" :height="height" style="width: 100%">
    <el-table-column prop="itemName" label="认定原因" width="340" />
    <el-table-column label="死亡人数">
      <el-table-column prop="swrsCount" label="数量" />

      <el-table-column label="比上年">
        <el-table-column prop="swrsCountSub" label="同期增减" />
      </el-table-column>

      <el-table-column label="增减">
        <el-table-column prop="swrsCountYOY" label="百分百" />
      </el-table-column>
    </el-table-column>

    <el-table-column label="受伤人数">
      <el-table-column prop="ssrsCount" label="数量" />

      <el-table-column label="比上年">
        <el-table-column prop="ssrsCountSub" label="同期增减" />
      </el-table-column>

      <el-table-column label="增减">
        <el-table-column prop="ssrsCountYOY" label="百分百" />
      </el-table-column>
    </el-table-column>
  </el-table>
</template>

<script setup>
defineProps({
  data: {
    type: Array
  },
  height: {
    type: Number,
    default: 500
  },
})
</script>

<style lang="less" scoped></style>
